import React, { type CSSProperties } from 'react';
import { Input } from 'antd';
type Props = {
  placeholder: string;
  style: CSSProperties;
  className?: string;
};

const Inputtext: React.FC<Props> = (props) => {
  const { placeholder, style, className } = props;
  return (
    <div style={{ ...style, padding: 20 }} className={className}>
      <Input placeholder={placeholder} />
    </div>
  );
};

export default Inputtext;
